from owl_common.base.model import AjaxResponse
from owl_common.descriptor.serializer import JsonSerializer
from ... import reg


@reg.api.route('/system/gpts/list', methods=['GET'])
@JsonSerializer()
def get_gpts_list():
    return {
        "total": 0,
        "rows": [],
        "code": 200,
        "msg": "success"
    }


@reg.app.route("/system/model/modelList", methods=["GET"])
@JsonSerializer()
def get_model_list():
    return AjaxResponse.from_success(data=[])


@reg.app.route("/system/packagePlan/listPlan", methods=["GET"])
@JsonSerializer()
def get_package_plan_list():
    return AjaxResponse.from_success(data=[])


@reg.app.route("/system/notice/getNotice", methods=["GET"])
@JsonSerializer()
def get_notice():
    return AjaxResponse.from_success(data=None)
